package com.online.olsrootserver.service.impl;

import com.online.olsrootserver.entity.Faq;
import com.online.olsrootserver.master.FaqMapper;
import com.online.olsrootserver.service.FaqService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by littleheng on 2018/5/3
 */
@Service
public class FaqServiceImpl implements FaqService {

    @Autowired
    private FaqMapper faqMapper;

    @Override
    public List<Faq> getFaqList(String companyId) {
        return this.faqMapper.selectFaqList(companyId);
    }
}